package com.yaglyf.mvc.service.dto;

import com.yaglyf.mvc.dao.entity.UserInfo;
import com.yaglyf.mvc.emun.UserEnum;

/**
 * Title: Class CommentsShow
 * Description:
 * 注释展示类，说明各种方法注释怎么写
 *
 * @author qiang.yang
 * @version 1.0.0
 * @email qiang.yang@chinaredstar.com
 * @date: 2016/10/19 17:46
 */
public class UserDto {

    private UserEnum userEnum;

    private UserInfo userInfo;

    public UserDto() {
    }

    public UserDto(UserEnum userEnum) {
        this.userEnum = userEnum;
    }

    public UserDto(UserEnum userEnum, UserInfo userInfo) {
        this.userEnum = userEnum;
        this.userInfo = userInfo;
    }

    public UserEnum getUserEnum() {
        return userEnum;
    }

    public UserDto setUserEnum(UserEnum userEnum) {
        this.userEnum = userEnum;
        return this;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public UserDto setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
        return this;
    }
}
